package com.jry.job;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import com.jry.common.security.annotation.EnableCustomConfig;
import com.jry.common.security.annotation.EnableJryFeignClients;
import com.jry.common.swagger.annotation.EnableCustomSwagger2;

/**
 * 定时任务
 *
 * @author zhangsuhang
 */
@EnableCustomConfig
@EnableCustomSwagger2
@EnableJryFeignClients
@SpringBootApplication
public class JryJobApplication {

  public static void main(String[] args) {
    SpringApplication.run(JryJobApplication.class, args);
    System.out.println("~~~定时任务模块启动成功~~~  \n" +
        "    _                             _           _     \n"
        + "   (_)                           (_)         | |    \n"
        + "    _   _ __   _   _   ______     _    ___   | |__  \n"
        + "   | | | '__| | | | | |______|   | |  / _ \\  | '_ \\ \n"
        + "   | | | |    | |_| |            | | | (_) | | |_) |\n"
        + "   | | |_|     \\__, |            | |  \\___/  |_.__/ \n"
        + "  _/ |          __/ |           _/ |                \n"
        + " |__/          |___/           |__/    ");
  }
}
